package com.momo.hotel.service.impl;

import com.momo.hotel.dao.mapping.ext.TbRoomListMapperExt;
import com.momo.hotel.dao.pojo.ext.TbRoomList;
import com.momo.hotel.service.RoomService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RoomServiceImpl implements RoomService {

    @Resource
    TbRoomListMapperExt tbRoomListMapperExt;

    @Override
    public TbRoomList selectRoomById(int id) {
        return tbRoomListMapperExt.selectRoomById(id);
    }
}
